package com.dadie.Domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.dadie.parame.ShopDataParame;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 
 * </p>
 *
 * @author Alon
 * @since 2021-01-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_shop")
public class ShopDomain implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 积分商城商品id
     */
    @TableId(value = "product_id",type = IdType.ASSIGN_ID)
    private String productId;

    /**
     * 商品名
     */
    private String productName;

    /**
     * 商品所需积分
     */
    private Integer productTotal;

    /**
     * 商品描述
     */
    private String productDescritpition;

    /**
     * 商品库存
     */
    private Integer productInventory;

    /**
     * 1商品入库即上架/2下架
     */
    @TableLogic
    private String productStatus;

}
